﻿using System;
using System.Collections.Generic;
using MongoDB.Driver;
using Sustainalytics.DataLayer.Shared;
using Sustainalytics.Entities;

namespace Sustainalytics.DataLayer
{
    public interface ISubscribeToPortfolioRepository:IRepositoryCollection<SubscribeToPortfolio>
    {
        IMongoDatabase GetDb();
        List<SubscribeToPortfolio> GetSubscriptions(Guid userId, Guid accountId);
        SubscribeToPortfolio ReadById(Guid id);
        void Insert(SubscribeToPortfolio subscribe);
        void Update(SubscribeToPortfolio subscribe);
        void UpdateStatus(Guid id, bool status);
    }
}
